package com.hellobike.haxing.modules.supplier.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * @Description: 供应商商品表
 * @Author: haxing-boot
 * @Date:   2020-01-15
 * @Version: V1.0
 */
@Data
@TableName("t_supplier_cl_pro")
public class TSupplierClPro implements Serializable {
	private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
	private Long id ;
	/**供应商id*/
	@Excel(name = "供应商id", width = 15)
	private Long supplierId ;
	/**供应商名称*/
	@Excel(name = "供应商名称", width = 15)
	private java.lang.String supplierName ;
	/**供应商报价*/
	@Excel(name = "供应商报价", width = 15)
	private BigDecimal supplierPrice ;
	/**一级分类*/
	@Excel(name = "一级分类", width = 15)
	private java.lang.String firstCategory ;
	/**二级分类*/
	@Excel(name = "二级分类", width = 15)
	private java.lang.String secondCategory ;
	/**三级级分类*/
	@Excel(name = "三级级分类", width = 15)
	private java.lang.String thirdCategory ;
	/**商品skuid*/
	@Excel(name = "商品skuid", width = 15)
	private Long skuId ;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
	private java.lang.String skuName ;
	/**单位*/
	@Excel(name = "单位", width = 15)
	private java.lang.String skuUnit ;
	/**商品规格*/
	@Excel(name = "商品规格", width = 15)
	private java.lang.String dimensionValues ;
	/**采购价*/
	@Excel(name = "采购价", width = 15)
	private BigDecimal purchasePrice ;
	/**供应商供货量*/
	@Excel(name = "供应商供货量", width = 15)
	private Integer supplyVolume ;
	/**生产日期*/
	@Excel(name = "生产日期", width = 20)
	private java.lang.String dateProduce ;
	/**过期日期*/
	@Excel(name = "过期日期", width = 20)
	private java.lang.String dateDue ;
	/**是否默认0否1是*/
	@Excel(name = "是否默认0否1是", width = 15)
	private Integer isDefault ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
	private Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
	private Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
	@TableLogic
	private Integer deleted ;

	@TableField(exist = false)
	private String spuName;
	/**一级分类*/
	@TableField(exist = false)
	private java.lang.String firstCategoryName ;
	/**二级分类*/
	@TableField(exist = false)
	private java.lang.String secondCategoryName ;
	/**三级级分类*/
	@TableField(exist = false)
	private java.lang.String thirdCategoryName ;

	@TableField(exist = false)
	private java.lang.Integer purchaseVolume ;

}
